北京邮电大学学报

  • EI核心期刊

北京邮电大学学报 ›› 2013, Vol. 36 ›› Issue (2): 107-112.doi: 10.13190/jbupt.201302.107.majy

• 研究报告 • 上一篇    下一篇

基于FSM的感知节点软件故障检测

马峻岩1,周兴社2,李士宁2   

  1. 1. 长安大学 信息工程学院, 西安 710064; 2. 西北工业大学 计算机学院, 西安 710072
  • 收稿日期:2012-07-18 修回日期:2012-09-05 出版日期:2013-04-30 发布日期:2013-03-25
  • 通讯作者: 马峻岩 E-mail:alexmajy@gmail.com
  • 作者简介:马峻岩(1982-),男,讲师,E-mail:majy@chd.edu.cn
  • 基金资助:

    国家“十一五”科技支撑计划子课题(2007BAD79B00);国际科技重大专项项目(2012ZX03005007-004)

FSM-Based Fault Detection for Sensor Node Software

MA Jun-yan1, ZHOU Xing-she2, LI Shi-ning2   

  1. 1. School of Information Engineering, Changan University, Xian 710064, China;<br>2. School of Computer Science, Northwestern Polytechnical University, Xian 710072, China
  • Received:2012-07-18 Revised:2012-09-05 Online:2013-04-30 Published:2013-03-25
  • Contact: Jun-Yan MA E-mail:alexmajy@gmail.com

摘要:

针对事件驱动程序运行时的故障检测问题,提出了一种基于有限状态机(FSM)的感知节点软件故障检测方法. 用户通过撰写FSM规范,并在程序中添加与FSM执行相关的宏标记,对程序期望行为进行描述. 在节点运行时通过比较FSM规范和收集的FSM执行信息,实现节点软件故障检测. 针对2类典型节点硬件平台,研究了3种故障检测机制的存储和计算开销,最后通过2个实例分析验证了所提方法的有效性.

关键词: 传感器网络, 事件驱动模型, 故障检测, 有限状态机

Abstract:

A method of finite-state machine (FSM) based fault detection is proposed to detect faults of event-driven programs. To describe expectation of program behaviors, users specify FSM specifications and insert relevant FSM annotations into the programs. At runtime, software faults are detected through comparing the FSM specifications with collected execution information of the relevant FSMs. Storage and runtime overheads of three detection mechanisms are investigated on two typical node hardware platforms. Two cases are given to demonstrate the effectiveness of the proposed method for sensor node software fault detection.

Key words: sensor networks, event-driven model, fault detection, finite-state machine

中图分类号: